package com.itheima;

public class DemoStudent02 {
    public static void main(String[] args) {
        Student02 stu1 = new Student02();
        //stu1.age = 22;
        //stu1.name = "马冬梅";
        //stu1.sex = "女";

        stu1.setAge(54);

        stu1.setName("JohnWick");

        String sex = stu1.setSex("男");

        //String name = stu1.setName("JohnWick");

        System.out.println("我的名字是" + stu1.getName() + "  年龄是" + stu1.getAge() + "  性别是" + sex);

    }
}
